﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DWF.Studio.RemoteCtrls.Custom
{
    /// <summary>
    /// 标签事件
    /// </summary>
    /// <typeparam name="T">标签1</typeparam>
    internal class TagEventArgs<T> : EventArgs
    {
        public TagEventArgs()
        {
        }

        public TagEventArgs(T tag)
        {
            Tag = tag;
        }


        public T Tag
        {
            set;
            get;
        }
    }

    /// <summary>
    /// 标签事件
    /// </summary>
    /// <typeparam name="T1">标签1</typeparam>
    /// <typeparam name="T2">标签2</typeparam>
    public class TagEventArgs<T1, T2> : EventArgs
    {
        public TagEventArgs()
        {
        }

        public TagEventArgs(T1 tag1, T2 tag2)
        {
            Tag1 = tag1;
            Tag2 = tag2;
        }

        public T1 Tag1
        {
            set;
            get;
        }

        public T2 Tag2
        {
            set;
            get;
        }
    }

    /// <summary>
    /// 标签事件
    /// </summary>
    /// <typeparam name="T1">标签1</typeparam>
    /// <typeparam name="T2">标签2</typeparam>
    /// <typeparam name="T3">标签3</typeparam>
    public class TagEventArgs<T1, T2, T3> : EventArgs
    {
        public TagEventArgs()
        {
        }

        public TagEventArgs(T1 tag1, T2 tag2, T3 tag3)
        {
            Tag1 = tag1;
            Tag2 = tag2;
            Tag3 = tag3;
        }

        public T1 Tag1
        {
            set;
            get;
        }

        public T2 Tag2
        {
            set;
            get;
        }

        public T3 Tag3
        {
            set;
            get;
        }
    }
}
